package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;

@Data
@TableName("quartz_task")
public class QuartzTask implements Serializable {
    
    @TableId(type = IdType.AUTO)
    private Long id;
    
    @TableField("task_name")
    private String taskName;
    
    @TableField("task_group")
    private String taskGroup;
    
    @TableField("cron_expression")
    private String cronExpression;
    
    @TableField("task_description")
    private String taskDescription;
    
    @TableField("task_status")
    private Integer taskStatus; // 0:暂停 1:运行
    
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;
    
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
    
    @TableField("job_class_name")
    private String jobClassName;
} 